css: Use enums instead of idents for font-variant properties
authorMatthias Clasen <mclasen@redhat.com>
Mon, 18 Sep 2017 22:38:16 +0000 (18:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Sep 2017 03:22:38 +0000 (23:22 -0400)
commit6859f0a6d13ccb3bbe78e34dade0c588a2d6ed2a
tree15b205a5b71ebce59b4665a19331bef50a6e1e34
parent01911b5ecd96e726335a7a18e27030a2304671b0
css: Use enums instead of idents for font-variant properties

As Benjamin says, ident should only be used if any value
is valid, which is not the case here. So use enums instead,
which should also be more efficient. To handle the more
complicated cases like font-variant-ligatures, we have to
introduce flags-like values.
gtk/gtkcssenumvalue.c
gtk/gtkcssenumvalueprivate.h
gtk/gtkcssshorthandpropertyimpl.c
gtk/gtkcssstyle.c
gtk/gtkcssstylepropertyimpl.c
gtk/gtkcsstypesprivate.h